﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BudgetKeeper
{
    class Expense
    {
        public string Name { get; set; }
        public double Sum { get; set; }
        public string Date { get; set; }

        /// <summary>
        /// Creates a new expense
        /// </summary>
        /// <param name="name">Reason for expense</param>
        /// <param name="sum">Sum of expense</param>
        /// <param name="date">Date of expense</param>
        public Expense(string name, double sum, string date)
        {
            Name = name;
            Sum = sum;
            Date = date;
        }
    }
}
